package com.boesch.electroOffice.utils;

import java.util.ArrayList;
import java.util.List;

import com.boesch.electroOffice.model.electroOffice.Identifier;
import com.boesch.electroOffice.model.wrapper.SelectBooleanItem;

public class SelectBooleanUtils {

	public static List<SelectBooleanItem> convertObjectsToSelectBooleanItems(
			List<Identifier> jobIdentif) {
		List<SelectBooleanItem> items = new ArrayList<SelectBooleanItem>();
		for(Identifier identifier : jobIdentif) {
			SelectBooleanItem item = new SelectBooleanItem();
			item.setItem(identifier);
			items.add(item);
		}
		return items;
	}
}
